
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class humanRobot extends JLabel implements MouseListener
{
	static ImageIcon humanRobotImage = new ImageIcon("images/humanRobot.png");

	public humanRobot()
	{
		super(humanRobotImage);
		setBounds(430, 100, 300, 300);
		setCursor(new Cursor(12));
		addMouseListener(this);
	}

	public void mouseClicked(MouseEvent e)
	{
	}

	public void mouseEntered(MouseEvent e)
	{
		if(isEnabled() == true)
		{
			ImageIcon humanRobotFilledImage = new ImageIcon("images/humanRobotFilled.png");
			setIcon(humanRobotFilledImage);
		}
	}

	public void mouseExited(MouseEvent e)
	{
		setIcon(humanRobotImage);
	}

	public void mousePressed(MouseEvent e)
	{
	}

	public void mouseReleased(MouseEvent e)
	{
		if(isEnabled() == true)
		{
			setVisible(false);
		}
	}
	
}
